package com.sumer.brain.sys.model.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sumer.brain.common.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Schema(name = "SysMenu", description = "菜单实体")
@TableName(value = "sys_dict_type")
@Data
public class SysDictType extends BaseEntity {

    @Schema(description = "字典主键")
    @TableId(type = IdType.AUTO)
    @ExcelProperty("字典主键")
    private Long dictId;

    @Schema(description = "字典名称")
    @ExcelProperty("字典名称")
    private String dictName;

    @Schema(description = "字典类型")
    @ExcelProperty("字典类型")
    private String dictType;

    @Schema(description = "状态（0正常 1停用）")
    @ExcelProperty("状态（0正常 1停用）")
    private String status;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
}